package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.CourseArrange;
import com.grad.why.studentsystem.domain.current.CurrentCourseArrangeInfo;

import java.util.List;

public interface CourseArrangeService {
    List<CurrentCourseArrangeInfo> getCourseArrangeInfoList(int offset, int limit, String search);

    long getCourseArrangeInfoListLength(String search);

    List<CurrentCourseArrangeInfo> getCourseArrangeInfoByCid(Integer courseid);

    int getMaxId();

    int addCourseArrangeByEntity(CourseArrange courseArrange);

    int updateCourseArrangeInfoByEntity(CourseArrange courseArrange);

    int deleteCourseArrangeInfosById(int i);

    int addCourseArrangeInfosByExcelFile(String uploadCurrentFileName);
}
